# -*- coding:utf-8 -*-
#获取yml数据，提供给加法计算
import logging

import yaml


def get_add_yml():
    f = open('../test_yaml/add.yml')
    get_add_f = yaml.safe_load(f)
    logging.info(get_add_f)
    return get_add_f

#获取yml数据，提供给除法计算
def get_div_yml():
    f = open('../test_yaml/div.yml')
    get_div_f = yaml.safe_load(f)
    logging.info(get_div_f)
    return get_div_f